home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 2 / Macwelt DVD 2.cdr / HTML-Tools / macosx / JChecker X 3.0.2.dmg / JChecker302EX / JChecker3.0 Folder(E) / DTD / XHTML10Transitional.dtd < prev    next >
Encoding:
Text File  |  2001-10-16  |  31.2 KB  |  1,199 lines

  1. <!--
  2.    Extensible HTML version 1.0 Transitional DTD
  3.  
  4.    This is the same as HTML 4 Transitional except for
  5.    changes due to the differences between XML and SGML.
  6.  
  7.    Namespace = http://www.w3.org/1999/xhtml
  8.  
  9.    For further information, see: http://www.w3.org/TR/xhtml1
  10.  
  11.    Copyright (c) 1998-2001 W3C (MIT, INRIA, Keio),
  12.    All Rights Reserved. 
  13.  
  14.    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
  15.  
  16.    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  17.    SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
  18.  
  19.    $Revision: 1.6 $
  20.    $Date: 2001/10/04 16:51:40 $
  21.  
  22. -->
  23.  
  24. <!--================ Character mnemonic entities =========================-->
  25.  
  26. <!ENTITY % HTMLlat1 PUBLIC
  27.    "-//W3C//ENTITIES Latin 1 for XHTML//EN"
  28.    "xhtml-lat1.ent">
  29. %HTMLlat1;
  30.  
  31. <!ENTITY % HTMLsymbol PUBLIC
  32.    "-//W3C//ENTITIES Symbols for XHTML//EN"
  33.    "xhtml-symbol.ent">
  34. %HTMLsymbol;
  35.  
  36. <!ENTITY % HTMLspecial PUBLIC
  37.    "-//W3C//ENTITIES Special for XHTML//EN"
  38.    "xhtml-special.ent">
  39. %HTMLspecial;
  40.  
  41. <!--================== Imported Names ====================================-->
  42.  
  43. <!ENTITY % ContentType "CDATA">
  44.     <!-- media type, as per [RFC2045] -->
  45.  
  46. <!ENTITY % ContentTypes "CDATA">
  47.     <!-- comma-separated list of media types, as per [RFC2045] -->
  48.  
  49. <!ENTITY % Charset "CDATA">
  50.     <!-- a character encoding, as per [RFC2045] -->
  51.  
  52. <!ENTITY % Charsets "CDATA">
  53.     <!-- a space separated list of character encodings, as per [RFC2045] -->
  54.  
  55. <!ENTITY % LanguageCode "NMTOKEN">
  56.     <!-- a language code, as per [RFC3066] -->
  57.  
  58. <!ENTITY % Character "CDATA">
  59.     <!-- a single character from [ISO10646] -->
  60.  
  61. <!ENTITY % Number "CDATA">
  62.     <!-- one or more digits -->
  63.  
  64. <!ENTITY % LinkTypes "CDATA">
  65.     <!-- space-separated list of link types -->
  66.  
  67. <!ENTITY % MediaDesc "CDATA">
  68.     <!-- single or comma-separated list of media descriptors -->
  69.  
  70. <!ENTITY % URI "CDATA">
  71.     <!-- a Uniform Resource Identifier, see [RFC2396] -->
  72.  
  73. <!ENTITY % UriList "CDATA">
  74.     <!-- a space separated list of Uniform Resource Identifiers -->
  75.  
  76. <!ENTITY % Datetime "CDATA">
  77.     <!-- date and time information. ISO date format -->
  78.  
  79. <!ENTITY % Script "CDATA">
  80.     <!-- script expression -->
  81.  
  82. <!ENTITY % StyleSheet "CDATA">
  83.     <!-- style sheet data -->
  84.  
  85. <!ENTITY % Text "CDATA">
  86.     <!-- used for titles etc. -->
  87.  
  88. <!ENTITY % FrameTarget "NMTOKEN">
  89.     <!-- render in this frame -->
  90.  
  91. <!ENTITY % Length "CDATA">
  92.     <!-- nn for pixels or nn% for percentage length -->
  93.  
  94. <!ENTITY % MultiLength "CDATA">
  95.     <!-- pixel, percentage, or relative -->
  96.  
  97. <!ENTITY % Pixels "CDATA">
  98.     <!-- integer representing length in pixels -->
  99.  
  100. <!-- these are used for image maps -->
  101.  
  102. <!ENTITY % Shape "(rect|circle|poly|default)">
  103.  
  104. <!ENTITY % Coords "CDATA">
  105.     <!-- comma separated list of lengths -->
  106.  
  107. <!-- used for object, applet, img, input and iframe -->
  108. <!ENTITY % ImgAlign "(top|middle|bottom|left|right)">
  109.  
  110. <!-- a color using sRGB: #RRGGBB as Hex values -->
  111. <!ENTITY % Color "CDATA">
  112.  
  113. <!-- There are also 16 widely known color names with their sRGB values:
  114.  
  115.     Black  = #000000    Green  = #008000
  116.     Silver = #C0C0C0    Lime   = #00FF00
  117.     Gray   = #808080    Olive  = #808000
  118.     White  = #FFFFFF    Yellow = #FFFF00
  119.     Maroon = #800000    Navy   = #000080
  120.     Red    = #FF0000    Blue   = #0000FF
  121.     Purple = #800080    Teal   = #008080
  122.     Fuchsia= #FF00FF    Aqua   = #00FFFF
  123. -->
  124.  
  125. <!--=================== Generic Attributes ===============================-->
  126.  
  127. <!-- core attributes common to most elements
  128.   id       document-wide unique id
  129.   class    space separated list of classes
  130.   style    associated style info
  131.   title    advisory title/amplification
  132. -->
  133. <!ENTITY % coreattrs
  134.  "id          ID             #IMPLIED
  135.   class       CDATA          #IMPLIED
  136.   style       %StyleSheet;   #IMPLIED
  137.   title       %Text;         #IMPLIED"
  138.   >
  139.  
  140. <!-- internationalization attributes
  141.   lang        language code (backwards compatible)
  142.   xml:lang    language code (as per XML 1.0 spec)
  143.   dir         direction for weak/neutral text
  144. -->
  145. <!ENTITY % i18n
  146.  "lang        %LanguageCode; #IMPLIED
  147.   xml:lang    %LanguageCode; #IMPLIED
  148.   dir         (ltr|rtl)      #IMPLIED"
  149.   >
  150.  
  151. <!-- attributes for common UI events
  152.   onclick     a pointer button was clicked
  153.   ondblclick  a pointer button was double clicked
  154.   onmousedown a pointer button was pressed down
  155.   onmouseup   a pointer button was released
  156.   onmousemove a pointer was moved onto the element
  157.   onmouseout  a pointer was moved away from the element
  158.   onkeypress  a key was pressed and released
  159.   onkeydown   a key was pressed down
  160.   onkeyup     a key was released
  161. -->
  162. <!ENTITY % events
  163.  "onclick     %Script;       #IMPLIED
  164.   ondblclick  %Script;       #IMPLIED
  165.   onmousedown %Script;       #IMPLIED
  166.   onmouseup   %Script;       #IMPLIED
  167.   onmouseover %Script;       #IMPLIED
  168.   onmousemove %Script;       #IMPLIED
  169.   onmouseout  %Script;       #IMPLIED
  170.   onkeypress  %Script;       #IMPLIED
  171.   onkeydown   %Script;       #IMPLIED
  172.   onkeyup     %Script;       #IMPLIED"
  173.   >
  174.  
  175. <!-- attributes for elements that can get the focus
  176.   accesskey   accessibility key character
  177.   tabindex    position in tabbing order
  178.   onfocus     the element got the focus
  179.   onblur      the element lost the focus
  180. -->
  181. <!ENTITY % focus
  182.  "accesskey   %Character;    #IMPLIED
  183.   tabindex    %Number;       #IMPLIED
  184.   onfocus     %Script;       #IMPLIED
  185.   onblur      %Script;       #IMPLIED"
  186.   >
  187.  
  188. <!ENTITY % attrs "%coreattrs; %i18n; %events;">
  189.  
  190. <!-- text alignment for p, div, h1-h6. The default is
  191.      align="left" for ltr headings, "right" for rtl -->
  192.  
  193. <!ENTITY % TextAlign "align (left|center|right|justify) #IMPLIED">
  194.  
  195. <!--=================== Text Elements ====================================-->
  196.  
  197. <!ENTITY % special.extra
  198.    "object | applet | img | map | iframe">
  199.     
  200. <!ENTITY % special.basic
  201.     "br | span | bdo">
  202.  
  203. <!ENTITY % special
  204.    "%special.basic; | %special.extra;">
  205.  
  206. <!ENTITY % fontstyle.extra "big | small | font | basefont">
  207.  
  208. <!ENTITY % fontstyle.basic "tt | i | b | u
  209.                       | s | strike ">
  210.  
  211. <!ENTITY % fontstyle "%fontstyle.basic; | %fontstyle.extra;">
  212.  
  213. <!ENTITY % phrase.extra "sub | sup">
  214. <!ENTITY % phrase.basic "em | strong | dfn | code | q |
  215.                    samp | kbd | var | cite | abbr | acronym">
  216.  
  217. <!ENTITY % phrase "%phrase.basic; | %phrase.extra;">
  218.  
  219. <!ENTITY % inline.forms "input | select | textarea | label | button">
  220.  
  221. <!-- these can occur at block or inline level -->
  222. <!ENTITY % misc "ins | del | script | noscript">
  223.  
  224. <!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">
  225.  
  226. <!-- %Inline; covers inline or "text-level" elements -->
  227. <!ENTITY % Inline "(#PCDATA | %inline; | %misc;)*">
  228.  
  229. <!--================== Block level elements ==============================-->
  230.  
  231. <!ENTITY % heading "h1|h2|h3|h4|h5|h6">
  232. <!ENTITY % lists "ul | ol | dl | menu | dir">
  233. <!ENTITY % blocktext "pre | hr | blockquote | address | center | noframes">
  234.  
  235. <!ENTITY % block
  236.     "p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table">
  237.  
  238. <!-- %Flow; mixes Block and Inline and is used for list items etc. -->
  239. <!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">
  240.  
  241. <!--================== Content models for exclusions =====================-->
  242.  
  243. <!-- a elements use %Inline; excluding a -->
  244.  
  245. <!ENTITY % a.content
  246.    "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc;)*">
  247.  
  248. <!-- pre uses %Inline excluding img, object, applet, big, small,
  249.      font, or basefont -->
  250.  
  251. <!ENTITY % pre.content
  252.    "(#PCDATA | a | %special.basic; | %fontstyle.basic; | %phrase.basic; |
  253.        %inline.forms; | %misc;)*">
  254.  
  255. <!-- form uses %Flow; excluding form -->
  256.  
  257. <!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*">
  258.  
  259. <!-- button uses %Flow; but excludes a, form, form controls, iframe -->
  260.  
  261. <!ENTITY % button.content
  262.    "(#PCDATA | p | %heading; | div | %lists; | %blocktext; |
  263.       table | br | span | bdo | object | applet | img | map |
  264.       %fontstyle; | %phrase; | %misc;)*">
  265.  
  266. <!--================ Document Structure ==================================-->
  267.  
  268. <!-- the namespace URI designates the document profile -->
  269.  
  270. <!ELEMENT html (head, body)>
  271. <!ATTLIST html
  272.   %i18n;
  273.   id          ID             #IMPLIED
  274.   xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'
  275.   >
  276.  
  277. <!--================ Document Head =======================================-->
  278.  
  279. <!ENTITY % head.misc "(script|style|meta|link|object|isindex)*">
  280.  
  281. <!-- content model is %head.misc; combined with a single
  282.      title and an optional base element in any order -->
  283.  
  284. <!ELEMENT head (%head.misc;,
  285.      ((title, %head.misc;, (base, %head.misc;)?) |
  286.       (base, %head.misc;, (title, %head.misc;))))>
  287.  
  288. <!ATTLIST head
  289.   %i18n;
  290.   id          ID             #IMPLIED
  291.   profile     %URI;          #IMPLIED
  292.   >
  293.  
  294. <!-- The title element is not considered part of the flow of text.
  295.        It should be displayed, for example as the page header or
  296.        window title. Exactly one title is required per document.
  297.     -->
  298. <!ELEMENT title (#PCDATA)>
  299. <!ATTLIST title 
  300.   %i18n;
  301.   id          ID             #IMPLIED
  302.   >
  303.  
  304. <!-- document base URI -->
  305.  
  306. <!ELEMENT base EMPTY>
  307. <!ATTLIST base
  308.   id          ID             #IMPLIED
  309.   href        %URI;          #IMPLIED
  310.   target      %FrameTarget;  #IMPLIED
  311.   >
  312.  
  313. <!-- generic metainformation -->
  314. <!ELEMENT meta EMPTY>
  315. <!ATTLIST meta
  316.   %i18n;
  317.   id          ID             #IMPLIED
  318.   http-equiv  CDATA          #IMPLIED
  319.   name        CDATA          #IMPLIED
  320.   content     CDATA          #REQUIRED
  321.   scheme      CDATA          #IMPLIED
  322.   >
  323.  
  324. <!--
  325.   Relationship values can be used in principle:
  326.  
  327.    a) for document specific toolbars/menus when used
  328.       with the link element in document head e.g.
  329.         start, contents, previous, next, index, end, help
  330.    b) to link to a separate style sheet (rel="stylesheet")
  331.    c) to make a link to a script (rel="script")
  332.    d) by stylesheets to control how collections of
  333.       html nodes are rendered into printed documents
  334.    e) to make a link to a printable version of this document
  335.       e.g. a PostScript or PDF version (rel="alternate" media="print")
  336. -->
  337.  
  338. <!ELEMENT link EMPTY>
  339. <!ATTLIST link
  340.   %attrs;
  341.   charset     %Charset;      #IMPLIED
  342.   href        %URI;          #IMPLIED
  343.   hreflang    %LanguageCode; #IMPLIED
  344.   type        %ContentType;  #IMPLIED
  345.   rel         %LinkTypes;    #IMPLIED
  346.   rev         %LinkTypes;    #IMPLIED
  347.   media       %MediaDesc;    #IMPLIED
  348.   target      %FrameTarget;  #IMPLIED
  349.   >
  350.  
  351. <!-- style info, which may include CDATA sections -->
  352. <!ELEMENT style (#PCDATA)>
  353. <!ATTLIST style
  354.   %i18n;
  355.   id          ID             #IMPLIED
  356.   type        %ContentType;  #REQUIRED
  357.   media       %MediaDesc;    #IMPLIED
  358.   title       %Text;         #IMPLIED
  359.   xml:space   (preserve)     #FIXED 'preserve'
  360.   >
  361.  
  362. <!-- script statements, which may include CDATA sections -->
  363. <!ELEMENT script (#PCDATA)>
  364. <!ATTLIST script
  365.   id          ID             #IMPLIED
  366.   charset     %Charset;      #IMPLIED
  367.   type        %ContentType;  #REQUIRED
  368.   language    CDATA          #IMPLIED
  369.   src         %URI;          #IMPLIED
  370.   defer       (defer)        #IMPLIED
  371.   xml:space   (preserve)     #FIXED 'preserve'
  372.   >
  373.  
  374. <!-- alternate content container for non script-based rendering -->
  375.  
  376. <!ELEMENT noscript %Flow;>
  377. <!ATTLIST noscript
  378.   %attrs;
  379.   >
  380.  
  381. <!--======================= Frames =======================================-->
  382.  
  383. <!-- inline subwindow -->
  384.  
  385. <!ELEMENT iframe %Flow;>
  386. <!ATTLIST iframe
  387.   %coreattrs;
  388.   longdesc    %URI;          #IMPLIED
  389.   name        NMTOKEN        #IMPLIED
  390.   src         %URI;          #IMPLIED
  391.   frameborder (1|0)          "1"
  392.   marginwidth %Pixels;       #IMPLIED
  393.   marginheight %Pixels;      #IMPLIED
  394.   scrolling   (yes|no|auto)  "auto"
  395.   align       %ImgAlign;     #IMPLIED
  396.   height      %Length;       #IMPLIED
  397.   width       %Length;       #IMPLIED
  398.   >
  399.  
  400. <!-- alternate content container for non frame-based rendering -->
  401.  
  402. <!ELEMENT noframes %Flow;>
  403. <!ATTLIST noframes
  404.   %attrs;
  405.   >
  406.  
  407. <!--=================== Document Body ====================================-->
  408.  
  409. <!ELEMENT body %Flow;>
  410. <!ATTLIST body
  411.   %attrs;
  412.   onload      %Script;       #IMPLIED
  413.   onunload    %Script;       #IMPLIED
  414.   background  %URI;          #IMPLIED
  415.   bgcolor     %Color;        #IMPLIED
  416.   text        %Color;        #IMPLIED
  417.   link        %Color;        #IMPLIED
  418.   vlink       %Color;        #IMPLIED
  419.   alink       %Color;        #IMPLIED
  420.   >
  421.  
  422. <!ELEMENT div %Flow;>  <!-- generic language/style container -->
  423. <!ATTLIST div
  424.   %attrs;
  425.   %TextAlign;
  426.   >
  427.  
  428. <!--=================== Paragraphs =======================================-->
  429.  
  430. <!ELEMENT p %Inline;>
  431. <!ATTLIST p
  432.   %attrs;
  433.   %TextAlign;
  434.   >
  435.  
  436. <!--=================== Headings =========================================-->
  437.  
  438. <!--
  439.   There are six levels of headings from h1 (the most important)
  440.   to h6 (the least important).
  441. -->
  442.  
  443. <!ELEMENT h1  %Inline;>
  444. <!ATTLIST h1
  445.   %attrs;
  446.   %TextAlign;
  447.   >
  448.  
  449. <!ELEMENT h2 %Inline;>
  450. <!ATTLIST h2
  451.   %attrs;
  452.   %TextAlign;
  453.   >
  454.  
  455. <!ELEMENT h3 %Inline;>
  456. <!ATTLIST h3
  457.   %attrs;
  458.   %TextAlign;
  459.   >
  460.  
  461. <!ELEMENT h4 %Inline;>
  462. <!ATTLIST h4
  463.   %attrs;
  464.   %TextAlign;
  465.   >
  466.  
  467. <!ELEMENT h5 %Inline;>
  468. <!ATTLIST h5
  469.   %attrs;
  470.   %TextAlign;
  471.   >
  472.  
  473. <!ELEMENT h6 %Inline;>
  474. <!ATTLIST h6
  475.   %attrs;
  476.   %TextAlign;
  477.   >
  478.  
  479. <!--=================== Lists ============================================-->
  480.  
  481. <!-- Unordered list bullet styles -->
  482.  
  483. <!ENTITY % ULStyle "(disc|square|circle)">
  484.  
  485. <!-- Unordered list -->
  486.  
  487. <!ELEMENT ul (li)+>
  488. <!ATTLIST ul
  489.   %attrs;
  490.   type        %ULStyle;     #IMPLIED
  491.   compact     (compact)     #IMPLIED
  492.   >
  493.  
  494. <!-- Ordered list numbering style
  495.  
  496.     1   arabic numbers      1, 2, 3, ...
  497.     a   lower alpha         a, b, c, ...
  498.     A   upper alpha         A, B, C, ...
  499.     i   lower roman         i, ii, iii, ...
  500.     I   upper roman         I, II, III, ...
  501.  
  502.     The style is applied to the sequence number which by default
  503.     is reset to 1 for the first list item in an ordered list.
  504. -->
  505. <!ENTITY % OLStyle "CDATA">
  506.  
  507. <!-- Ordered (numbered) list -->
  508.  
  509. <!ELEMENT ol (li)+>
  510. <!ATTLIST ol
  511.   %attrs;
  512.   type        %OLStyle;      #IMPLIED
  513.   compact     (compact)      #IMPLIED
  514.   start       %Number;       #IMPLIED
  515.   >
  516.  
  517. <!-- single column list (DEPRECATED) --> 
  518. <!ELEMENT menu (li)+>
  519. <!ATTLIST menu
  520.   %attrs;
  521.   compact     (compact)     #IMPLIED
  522.   >
  523.  
  524. <!-- multiple column list (DEPRECATED) --> 
  525. <!ELEMENT dir (li)+>
  526. <!ATTLIST dir
  527.   %attrs;
  528.   compact     (compact)     #IMPLIED
  529.   >
  530.  
  531. <!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" -->
  532. <!ENTITY % LIStyle "CDATA">
  533.  
  534. <!-- list item -->
  535.  
  536. <!ELEMENT li %Flow;>
  537. <!ATTLIST li
  538.   %attrs;
  539.   type        %LIStyle;      #IMPLIED
  540.   value       %Number;       #IMPLIED
  541.   >
  542.  
  543. <!-- definition lists - dt for term, dd for its definition -->
  544.  
  545. <!ELEMENT dl (dt|dd)+>
  546. <!ATTLIST dl
  547.   %attrs;
  548.   compact     (compact)      #IMPLIED
  549.   >
  550.  
  551. <!ELEMENT dt %Inline;>
  552. <!ATTLIST dt
  553.   %attrs;
  554.   >
  555.  
  556. <!ELEMENT dd %Flow;>
  557. <!ATTLIST dd
  558.   %attrs;
  559.   >
  560.  
  561. <!--=================== Address ==========================================-->
  562.  
  563. <!-- information on author -->
  564.  
  565. <!ELEMENT address %Inline;>
  566. <!ATTLIST address
  567.   %attrs;
  568.   >
  569.  
  570. <!--=================== Horizontal Rule ==================================-->
  571.  
  572. <!ELEMENT hr EMPTY>
  573. <!ATTLIST hr
  574.   %attrs;
  575.   align       (left|center|right) #IMPLIED
  576.   noshade     (noshade)      #IMPLIED
  577.   size        %Pixels;       #IMPLIED
  578.   width       %Length;       #IMPLIED
  579.   >
  580.  
  581. <!--=================== Preformatted Text ================================-->
  582.  
  583. <!-- content is %Inline; excluding 
  584.         "img|object|applet|big|small|sub|sup|font|basefont" -->
  585.  
  586. <!ELEMENT pre %pre.content;>
  587. <!ATTLIST pre
  588.   %attrs;
  589.   width       %Number;      #IMPLIED
  590.   xml:space   (preserve)    #FIXED 'preserve'
  591.   >
  592.  
  593. <!--=================== Block-like Quotes ================================-->
  594.  
  595. <!ELEMENT blockquote %Flow;>
  596. <!ATTLIST blockquote
  597.   %attrs;
  598.   cite        %URI;          #IMPLIED
  599.   >
  600.  
  601. <!--=================== Text alignment ===================================-->
  602.  
  603. <!-- center content -->
  604. <!ELEMENT center %Flow;>
  605. <!ATTLIST center
  606.   %attrs;
  607.   >
  608.  
  609. <!--=================== Inserted/Deleted Text ============================-->
  610.  
  611. <!--
  612.   ins/del are allowed in block and inline content, but its
  613.   inappropriate to include block content within an ins element
  614.   occurring in inline content.
  615. -->
  616. <!ELEMENT ins %Flow;>
  617. <!ATTLIST ins
  618.   %attrs;
  619.   cite        %URI;          #IMPLIED
  620.   datetime    %Datetime;     #IMPLIED
  621.   >
  622.  
  623. <!ELEMENT del %Flow;>
  624. <!ATTLIST del
  625.   %attrs;
  626.   cite        %URI;          #IMPLIED
  627.   datetime    %Datetime;     #IMPLIED
  628.   >
  629.  
  630. <!--================== The Anchor Element ================================-->
  631.  
  632. <!-- content is %Inline; except that anchors shouldn't be nested -->
  633.  
  634. <!ELEMENT a %a.content;>
  635. <!ATTLIST a
  636.   %attrs;
  637.   %focus;
  638.   charset     %Charset;      #IMPLIED
  639.   type        %ContentType;  #IMPLIED
  640.   name        NMTOKEN        #IMPLIED
  641.   href        %URI;          #IMPLIED
  642.   hreflang    %LanguageCode; #IMPLIED
  643.   rel         %LinkTypes;    #IMPLIED
  644.   rev         %LinkTypes;    #IMPLIED
  645.   shape       %Shape;        "rect"
  646.   coords      %Coords;       #IMPLIED
  647.   target      %FrameTarget;  #IMPLIED
  648.   >
  649.  
  650. <!--===================== Inline Elements ================================-->
  651.  
  652. <!ELEMENT span %Inline;> <!-- generic language/style container -->
  653. <!ATTLIST span
  654.   %attrs;
  655.   >
  656.  
  657. <!ELEMENT bdo %Inline;>  <!-- I18N BiDi over-ride -->
  658. <!ATTLIST bdo
  659.   %coreattrs;
  660.   %events;
  661.   lang        %LanguageCode; #IMPLIED
  662.   xml:lang    %LanguageCode; #IMPLIED
  663.   dir         (ltr|rtl)      #REQUIRED
  664.   >
  665.  
  666. <!ELEMENT br EMPTY>   <!-- forced line break -->
  667. <!ATTLIST br
  668.   %coreattrs;
  669.   clear       (left|all|right|none) "none"
  670.   >
  671.  
  672. <!ELEMENT em %Inline;>   <!-- emphasis -->
  673. <!ATTLIST em %attrs;>
  674.  
  675. <!ELEMENT strong %Inline;>   <!-- strong emphasis -->
  676. <!ATTLIST strong %attrs;>
  677.  
  678. <!ELEMENT dfn %Inline;>   <!-- definitional -->
  679. <!ATTLIST dfn %attrs;>
  680.  
  681. <!ELEMENT code %Inline;>   <!-- program code -->
  682. <!ATTLIST code %attrs;>
  683.  
  684. <!ELEMENT samp %Inline;>   <!-- sample -->
  685. <!ATTLIST samp %attrs;>
  686.  
  687. <!ELEMENT kbd %Inline;>  <!-- something user would type -->
  688. <!ATTLIST kbd %attrs;>
  689.  
  690. <!ELEMENT var %Inline;>   <!-- variable -->
  691. <!ATTLIST var %attrs;>
  692.  
  693. <!ELEMENT cite %Inline;>   <!-- citation -->
  694. <!ATTLIST cite %attrs;>
  695.  
  696. <!ELEMENT abbr %Inline;>   <!-- abbreviation -->
  697. <!ATTLIST abbr %attrs;>
  698.  
  699. <!ELEMENT acronym %Inline;>   <!-- acronym -->
  700. <!ATTLIST acronym %attrs;>
  701.  
  702. <!ELEMENT q %Inline;>   <!-- inlined quote -->
  703. <!ATTLIST q
  704.   %attrs;
  705.   cite        %URI;          #IMPLIED
  706.   >
  707.  
  708. <!ELEMENT sub %Inline;> <!-- subscript -->
  709. <!ATTLIST sub %attrs;>
  710.  
  711. <!ELEMENT sup %Inline;> <!-- superscript -->
  712. <!ATTLIST sup %attrs;>
  713.  
  714. <!ELEMENT tt %Inline;>   <!-- fixed pitch font -->
  715. <!ATTLIST tt %attrs;>
  716.  
  717. <!ELEMENT i %Inline;>   <!-- italic font -->
  718. <!ATTLIST i %attrs;>
  719.  
  720. <!ELEMENT b %Inline;>   <!-- bold font -->
  721. <!ATTLIST b %attrs;>
  722.  
  723. <!ELEMENT big %Inline;>   <!-- bigger font -->
  724. <!ATTLIST big %attrs;>
  725.  
  726. <!ELEMENT small %Inline;>   <!-- smaller font -->
  727. <!ATTLIST small %attrs;>
  728.  
  729. <!ELEMENT u %Inline;>   <!-- underline -->
  730. <!ATTLIST u %attrs;>
  731.  
  732. <!ELEMENT s %Inline;>   <!-- strike-through -->
  733. <!ATTLIST s %attrs;>
  734.  
  735. <!ELEMENT strike %Inline;>   <!-- strike-through -->
  736. <!ATTLIST strike %attrs;>
  737.  
  738. <!ELEMENT basefont EMPTY>  <!-- base font size -->
  739. <!ATTLIST basefont
  740.   id          ID             #IMPLIED
  741.   size        CDATA          #REQUIRED
  742.   color       %Color;        #IMPLIED
  743.   face        CDATA          #IMPLIED
  744.   >
  745.  
  746. <!ELEMENT font %Inline;> <!-- local change to font -->
  747. <!ATTLIST font
  748.   %coreattrs;
  749.   %i18n;
  750.   size        CDATA          #IMPLIED
  751.   color       %Color;        #IMPLIED
  752.   face        CDATA          #IMPLIED
  753.   >
  754.  
  755. <!--==================== Object ======================================-->
  756. <!--
  757.   object is used to embed objects as part of HTML pages.
  758.   param elements should precede other content. Parameters
  759.   can also be expressed as attribute/value pairs on the
  760.   object element itself when brevity is desired.
  761. -->
  762.  
  763. <!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*>
  764. <!ATTLIST object
  765.   %attrs;
  766.   declare     (declare)      #IMPLIED
  767.   classid     %URI;          #IMPLIED
  768.   codebase    %URI;          #IMPLIED
  769.   data        %URI;          #IMPLIED
  770.   type        %ContentType;  #IMPLIED
  771.   codetype    %ContentType;  #IMPLIED
  772.   archive     %UriList;      #IMPLIED
  773.   standby     %Text;         #IMPLIED
  774.   height      %Length;       #IMPLIED
  775.   width       %Length;       #IMPLIED
  776.   usemap      %URI;          #IMPLIED
  777.   name        NMTOKEN        #IMPLIED
  778.   tabindex    %Number;       #IMPLIED
  779.   align       %ImgAlign;     #IMPLIED
  780.   border      %Pixels;       #IMPLIED
  781.   hspace      %Pixels;       #IMPLIED
  782.   vspace      %Pixels;       #IMPLIED
  783.   >
  784.  
  785. <!--
  786.   param is used to supply a named property value.
  787.   In XML it would seem natural to follow RDF and support an
  788.   abbreviated syntax where the param elements are replaced
  789.   by attribute value pairs on the object start tag.
  790. -->
  791. <!ELEMENT param EMPTY>
  792. <!ATTLIST param
  793.   id          ID             #IMPLIED
  794.   name        CDATA          #REQUIRED
  795.   value       CDATA          #IMPLIED
  796.   valuetype   (data|ref|object) "data"
  797.   type        %ContentType;  #IMPLIED
  798.   >
  799.  
  800. <!--=================== Java applet ==================================-->
  801. <!--
  802.   One of code or object attributes must be present.
  803.   Place param elements before other content.
  804. -->
  805. <!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>
  806. <!ATTLIST applet
  807.   %coreattrs;
  808.   codebase    %URI;          #IMPLIED
  809.   archive     CDATA          #IMPLIED
  810.   code        CDATA          #IMPLIED
  811.   object      CDATA          #IMPLIED
  812.   alt         %Text;         #IMPLIED
  813.   name        NMTOKEN        #IMPLIED
  814.   width       %Length;       #REQUIRED
  815.   height      %Length;       #REQUIRED
  816.   align       %ImgAlign;     #IMPLIED
  817.   hspace      %Pixels;       #IMPLIED
  818.   vspace      %Pixels;       #IMPLIED
  819.   >
  820.  
  821. <!--=================== Images ===========================================-->
  822.  
  823. <!--
  824.    To avoid accessibility problems for people who aren't
  825.    able to see the image, you should provide a text
  826.    description using the alt and longdesc attributes.
  827.    In addition, avoid the use of server-side image maps.
  828. -->
  829.  
  830. <!ELEMENT img EMPTY>
  831. <!ATTLIST img
  832.   %attrs;
  833.   src         %URI;          #REQUIRED
  834.   alt         %Text;         #REQUIRED
  835.   name        NMTOKEN        #IMPLIED
  836.   longdesc    %URI;          #IMPLIED
  837.   height      %Length;       #IMPLIED
  838.   width       %Length;       #IMPLIED
  839.   usemap      %URI;          #IMPLIED
  840.   ismap       (ismap)        #IMPLIED
  841.   align       %ImgAlign;     #IMPLIED
  842.   border      %Length;       #IMPLIED
  843.   hspace      %Pixels;       #IMPLIED
  844.   vspace      %Pixels;       #IMPLIED
  845.   >
  846.  
  847. <!-- usemap points to a map element which may be in this document
  848.   or an external document, although the latter is not widely supported -->
  849.  
  850. <!--================== Client-side image maps ============================-->
  851.  
  852. <!-- These can be placed in the same document or grouped in a
  853.      separate document although this isn't yet widely supported -->
  854.  
  855. <!ELEMENT map ((%block; | form | %misc;)+ | area+)>
  856. <!ATTLIST map
  857.   %i18n;
  858.   %events;
  859.   id          ID             #REQUIRED
  860.   class       CDATA          #IMPLIED
  861.   style       %StyleSheet;   #IMPLIED
  862.   title       %Text;         #IMPLIED
  863.   name        CDATA          #IMPLIED
  864.   >
  865.  
  866. <!ELEMENT area EMPTY>
  867. <!ATTLIST area
  868.   %attrs;
  869.   %focus;
  870.   shape       %Shape;        "rect"
  871.   coords      %Coords;       #IMPLIED
  872.   href        %URI;          #IMPLIED
  873.   nohref      (nohref)       #IMPLIED
  874.   alt         %Text;         #REQUIRED
  875.   target      %FrameTarget;  #IMPLIED
  876.   >
  877.  
  878. <!--================ Forms ===============================================-->
  879.  
  880. <!ELEMENT form %form.content;>   <!-- forms shouldn't be nested -->
  881.  
  882. <!ATTLIST form
  883.   %attrs;
  884.   action      %URI;          #REQUIRED
  885.   method      (get|post)     "get"
  886.   name        NMTOKEN        #IMPLIED
  887.   enctype     %ContentType;  "application/x-www-form-urlencoded"
  888.   onsubmit    %Script;       #IMPLIED
  889.   onreset     %Script;       #IMPLIED
  890.   accept      %ContentTypes; #IMPLIED
  891.   accept-charset %Charsets;  #IMPLIED
  892.   target      %FrameTarget;  #IMPLIED
  893.   >
  894.  
  895. <!--
  896.   Each label must not contain more than ONE field
  897.   Label elements shouldn't be nested.
  898. -->
  899. <!ELEMENT label %Inline;>
  900. <!ATTLIST label
  901.   %attrs;
  902.   for         IDREF          #IMPLIED
  903.   accesskey   %Character;    #IMPLIED
  904.   onfocus     %Script;       #IMPLIED
  905.   onblur      %Script;       #IMPLIED
  906.   >
  907.  
  908. <!ENTITY % InputType
  909.   "(text | password | checkbox |
  910.     radio | submit | reset |
  911.     file | hidden | image | button)"
  912.    >
  913.  
  914. <!-- the name attribute is required for all but submit & reset -->
  915.  
  916. <!ELEMENT input EMPTY>     <!-- form control -->
  917. <!ATTLIST input
  918.   %attrs;
  919.   %focus;
  920.   type        %InputType;    "text"
  921.   name        CDATA          #IMPLIED
  922.   value       CDATA          #IMPLIED
  923.   checked     (checked)      #IMPLIED
  924.   disabled    (disabled)     #IMPLIED
  925.   readonly    (readonly)     #IMPLIED
  926.   size        CDATA          #IMPLIED
  927.   maxlength   %Number;       #IMPLIED
  928.   src         %URI;          #IMPLIED
  929.   alt         CDATA          #IMPLIED
  930.   usemap      %URI;          #IMPLIED
  931.   onselect    %Script;       #IMPLIED
  932.   onchange    %Script;       #IMPLIED
  933.   accept      %ContentTypes; #IMPLIED
  934.   align       %ImgAlign;     #IMPLIED
  935.   >
  936.  
  937. <!ELEMENT select (optgroup|option)+>  <!-- option selector -->
  938. <!ATTLIST select
  939.   %attrs;
  940.   name        CDATA          #IMPLIED
  941.   size        %Number;       #IMPLIED
  942.   multiple    (multiple)     #IMPLIED
  943.   disabled    (disabled)     #IMPLIED
  944.   tabindex    %Number;       #IMPLIED
  945.   onfocus     %Script;       #IMPLIED
  946.   onblur      %Script;       #IMPLIED
  947.   onchange    %Script;       #IMPLIED
  948.   >
  949.  
  950. <!ELEMENT optgroup (option)+>   <!-- option group -->
  951. <!ATTLIST optgroup
  952.   %attrs;
  953.   disabled    (disabled)     #IMPLIED
  954.   label       %Text;         #REQUIRED
  955.   >
  956.  
  957. <!ELEMENT option (#PCDATA)>     <!-- selectable choice -->
  958. <!ATTLIST option
  959.   %attrs;
  960.   selected    (selected)     #IMPLIED
  961.   disabled    (disabled)     #IMPLIED
  962.   label       %Text;         #IMPLIED
  963.   value       CDATA          #IMPLIED
  964.   >
  965.  
  966. <!ELEMENT textarea (#PCDATA)>     <!-- multi-line text field -->
  967. <!ATTLIST textarea
  968.   %attrs;
  969.   %focus;
  970.   name        CDATA          #IMPLIED
  971.   rows        %Number;       #REQUIRED
  972.   cols        %Number;       #REQUIRED
  973.   disabled    (disabled)     #IMPLIED
  974.   readonly    (readonly)     #IMPLIED
  975.   onselect    %Script;       #IMPLIED
  976.   onchange    %Script;       #IMPLIED
  977.   >
  978.  
  979. <!--
  980.   The fieldset element is used to group form fields.
  981.   Only one legend element should occur in the content
  982.   and if present should only be preceded by whitespace.
  983. -->
  984. <!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>
  985. <!ATTLIST fieldset
  986.   %attrs;
  987.   >
  988.  
  989. <!ENTITY % LAlign "(top|bottom|left|right)">
  990.  
  991. <!ELEMENT legend %Inline;>     <!-- fieldset label -->
  992. <!ATTLIST legend
  993.   %attrs;
  994.   accesskey   %Character;    #IMPLIED
  995.   align       %LAlign;       #IMPLIED
  996.   >
  997.  
  998. <!--
  999.  Content is %Flow; excluding a, form, form controls, iframe
  1000. --> 
  1001. <!ELEMENT button %button.content;>  <!-- push button -->
  1002. <!ATTLIST button
  1003.   %attrs;
  1004.   %focus;
  1005.   name        CDATA          #IMPLIED
  1006.   value       CDATA          #IMPLIED
  1007.   type        (button|submit|reset) "submit"
  1008.   disabled    (disabled)     #IMPLIED
  1009.   >
  1010.  
  1011. <!-- single-line text input control (DEPRECATED) -->
  1012. <!ELEMENT isindex EMPTY>
  1013. <!ATTLIST isindex
  1014.   %coreattrs;
  1015.   %i18n;
  1016.   prompt      %Text;         #IMPLIED
  1017.   >
  1018.  
  1019. <!--======================= Tables =======================================-->
  1020.  
  1021. <!-- Derived from IETF HTML table standard, see [RFC1942] -->
  1022.  
  1023. <!--
  1024.  The border attribute sets the thickness of the frame around the
  1025.  table. The default units are screen pixels.
  1026.  
  1027.  The frame attribute specifies which parts of the frame around
  1028.  the table should be rendered. The values are not the same as
  1029.  CALS to avoid a name clash with the valign attribute.
  1030. -->
  1031. <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
  1032.  
  1033. <!--
  1034.  The rules attribute defines which rules to draw between cells:
  1035.  
  1036.  If rules is absent then assume:
  1037.      "none" if border is absent or border="0" otherwise "all"
  1038. -->
  1039.  
  1040. <!ENTITY % TRules "(none | groups | rows | cols | all)">
  1041.   
  1042. <!-- horizontal placement of table relative to document -->
  1043. <!ENTITY % TAlign "(left|center|right)">
  1044.  
  1045. <!-- horizontal alignment attributes for cell contents
  1046.  
  1047.   char        alignment char, e.g. char=':'
  1048.   charoff     offset for alignment char
  1049. -->
  1050. <!ENTITY % cellhalign
  1051.   "align      (left|center|right|justify|char) #IMPLIED
  1052.    char       %Character;    #IMPLIED
  1053.    charoff    %Length;       #IMPLIED"
  1054.   >
  1055.  
  1056. <!-- vertical alignment attributes for cell contents -->
  1057. <!ENTITY % cellvalign
  1058.   "valign     (top|middle|bottom|baseline) #IMPLIED"
  1059.   >
  1060.  
  1061. <!ELEMENT table
  1062.      (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>
  1063. <!ELEMENT caption  %Inline;>
  1064. <!ELEMENT thead    (tr)+>
  1065. <!ELEMENT tfoot    (tr)+>
  1066. <!ELEMENT tbody    (tr)+>
  1067. <!ELEMENT colgroup (col)*>
  1068. <!ELEMENT col      EMPTY>
  1069. <!ELEMENT tr       (th|td)+>
  1070. <!ELEMENT th       %Flow;>
  1071. <!ELEMENT td       %Flow;>
  1072.  
  1073. <!ATTLIST table
  1074.   %attrs;
  1075.   summary     %Text;         #IMPLIED
  1076.   width       %Length;       #IMPLIED
  1077.   border      %Pixels;       #IMPLIED
  1078.   frame       %TFrame;       #IMPLIED
  1079.   rules       %TRules;       #IMPLIED
  1080.   cellspacing %Length;       #IMPLIED
  1081.   cellpadding %Length;       #IMPLIED
  1082.   align       %TAlign;       #IMPLIED
  1083.   bgcolor     %Color;        #IMPLIED
  1084.   >
  1085.  
  1086. <!ENTITY % CAlign "(top|bottom|left|right)">
  1087.  
  1088. <!ATTLIST caption
  1089.   %attrs;
  1090.   align       %CAlign;       #IMPLIED
  1091.   >
  1092.  
  1093. <!--
  1094. colgroup groups a set of col elements. It allows you to group
  1095. several semantically related columns together.
  1096. -->
  1097. <!ATTLIST colgroup
  1098.   %attrs;
  1099.   span        %Number;       "1"
  1100.   width       %MultiLength;  #IMPLIED
  1101.   %cellhalign;
  1102.   %cellvalign;
  1103.   >
  1104.  
  1105. <!--
  1106.  col elements define the alignment properties for cells in
  1107.  one or more columns.
  1108.  
  1109.  The width attribute specifies the width of the columns, e.g.
  1110.  
  1111.      width=64        width in screen pixels
  1112.      width=0.5*      relative width of 0.5
  1113.  
  1114.  The span attribute causes the attributes of one
  1115.  col element to apply to more than one column.
  1116. -->
  1117. <!ATTLIST col
  1118.   %attrs;
  1119.   span        %Number;       "1"
  1120.   width       %MultiLength;  #IMPLIED
  1121.   %cellhalign;
  1122.   %cellvalign;
  1123.   >
  1124.  
  1125. <!--
  1126.     Use thead to duplicate headers when breaking table
  1127.     across page boundaries, or for static headers when
  1128.     tbody sections are rendered in scrolling panel.
  1129.  
  1130.     Use tfoot to duplicate footers when breaking table
  1131.     across page boundaries, or for static footers when
  1132.     tbody sections are rendered in scrolling panel.
  1133.  
  1134.     Use multiple tbody sections when rules are needed
  1135.     between groups of table rows.
  1136. -->
  1137. <!ATTLIST thead
  1138.   %attrs;
  1139.   %cellhalign;
  1140.   %cellvalign;
  1141.   >
  1142.  
  1143. <!ATTLIST tfoot
  1144.   %attrs;
  1145.   %cellhalign;
  1146.   %cellvalign;
  1147.   >
  1148.  
  1149. <!ATTLIST tbody
  1150.   %attrs;
  1151.   %cellhalign;
  1152.   %cellvalign;
  1153.   >
  1154.  
  1155. <!ATTLIST tr
  1156.   %attrs;
  1157.   %cellhalign;
  1158.   %cellvalign;
  1159.   bgcolor     %Color;        #IMPLIED
  1160.   >
  1161.  
  1162. <!-- Scope is simpler than headers attribute for common tables -->
  1163. <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
  1164.  
  1165. <!-- th is for headers, td for data and for cells acting as both -->
  1166.  
  1167. <!ATTLIST th
  1168.   %attrs;
  1169.   abbr        %Text;         #IMPLIED
  1170.   axis        CDATA          #IMPLIED
  1171.   headers     IDREFS         #IMPLIED
  1172.   scope       %Scope;        #IMPLIED
  1173.   rowspan     %Number;       "1"
  1174.   colspan     %Number;       "1"
  1175.   %cellhalign;
  1176.   %cellvalign;
  1177.   nowrap      (nowrap)       #IMPLIED
  1178.   bgcolor     %Color;        #IMPLIED
  1179.   width       %Pixels;       #IMPLIED
  1180.   height      %Pixels;       #IMPLIED
  1181.   >
  1182.  
  1183. <!ATTLIST td
  1184.   %attrs;
  1185.   abbr        %Text;         #IMPLIED
  1186.   axis        CDATA          #IMPLIED
  1187.   headers     IDREFS         #IMPLIED
  1188.   scope       %Scope;        #IMPLIED
  1189.   rowspan     %Number;       "1"
  1190.   colspan     %Number;       "1"
  1191.   %cellhalign;
  1192.   %cellvalign;
  1193.   nowrap      (nowrap)       #IMPLIED
  1194.   bgcolor     %Color;        #IMPLIED
  1195.   width       %Pixels;       #IMPLIED
  1196.   height      %Pixels;       #IMPLIED
  1197.   >
  1198.  
  1199.